package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.entity.User;

public interface UserService {
    User login(String username, String password);

    void resetPwd(Long userId);

    void register(String username, String realName, String password, String phone, String grade);

    void changePwd(Long id, String oldPassword, String newPassword);

    IPage<User> selectPageUserList(Long page, Long pageSize, String username);

    void update(Long id, String username, String realName, String phone, String grade);

    void deleteById(Long id);
}
